<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="css/index.css">  <!-- 这里引用静态文件index.css -->
</head>
<body>
    <div class="list">
        <h2>{{commonData}}</h2>
        <ul>
            {{each list}}
                <li>{{$index}}-----{{$value}}</li>
            {{/each}}
        </ul>
    </div>
    <div>
        <form action="/body" method="post">
            <input type="text" name="username">
            <br>
            <input type="password" name="password">
            <br>
            <input type="submit" value="提交">
        </form>
    </div>
</body>
</html>